<%@page import="net.tanesha.recaptcha.ReCaptchaFactory"%>
<%@page import="net.tanesha.recaptcha.ReCaptcha"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.Collections"%>
<%@page import="javax.cache.CacheException"%>
<%@page import="javax.cache.CacheManager"%>
<%@page import="javax.cache.Cache"%>
<%@page import="domain.model.Whois"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html;charset=UTF-8" language="java"%>
<%
String title = (String) request.getAttribute("title");
String description = (String) request.getAttribute("description");
String keywords = (String) request.getAttribute("keyword");
String[] check = (String[]) request.getAttribute("check");

%>
<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>
		<div class="body all">
			<div class="cate">
				<%@ include file='/element/menu_left.jsp'%>
				<%@ include file='/element/new_site.jsp'%>
				<%@ include file='/element/random_site.jsp'%>
			</div>
			<div class="content">
				<%@ include file='/adv/menu.jsp'%>
				
				<div class="content_left left">
					<h2 class="title left">Contact :</h2>
					<div class="add_this right">
						<!-- AddThis Button BEGIN -->
						<div class="addthis_toolbox addthis_default_style ">
						<a class="addthis_button_preferred_1"></a>
						<a class="addthis_button_preferred_2"></a>
						<a class="addthis_button_preferred_3"></a>
						<a class="addthis_button_preferred_4"></a>
						<a class="addthis_button_compact"></a>
						<a class="addthis_counter addthis_bubble_style"></a>
						</div>
						
						<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d6f3cdb1d190d60"></script>
						<!-- AddThis Button END -->
					</div>
					<div class="sum_one right">
						<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
						<g:plusone size="small" count="true"></g:plusone>
					</div>
					<div class="clear"></div>
					
					If you have any questions, or comments and suggestions, please use the form below to contact us. Or you can mail to contact [at] find-domains.org .
					<br/><br/>
					<form action="/contact" method="post" class="send_mail">
						Your name :<br/>
					<%=(check[0] != null)?"<p style='color:red;'>"+check[0]+"</p>":"" %>
					<input  type="text" name="name"/>
					Your email :<br/>
					<%=(check[1] != null)?"<p style='color:red;'>"+check[1]+"</p>":"" %>
					<input  type="text" name="email"/>
					Message :<br/>
					<%=(check[2] != null)?"<p style='color:red;'>"+check[2]+"</p>":"" %>
					<textarea name="message"></textarea><br/>
					<%=(check[3] != null)?"<p style='color:red;'>"+check[3]+"</p>":"" %>
					<script>
			        	var RecaptchaOptions = { theme : 'clean' };
			  		</script>
					<%
						//6LdXmcISAAAAAHz6FsABghup-EayldUCiKQyDPAk //public
						//6LdXmcISAAAAANPIv5ykGg3LAlBMnUQHzy3-Kiqo //private
			          ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LezlM0SAAAAAIKbwFxNh-XJTQMiUoOLs8dkcUqn", "6LezlM0SAAAAACEvZbJ36aiWaONZ6PhnFFEs504l", false);
			          out.print(c.createRecaptchaHtml(null, null));
			        %>
			        <br/>
					<button type="submit">Send</button>
					</form>
				</div>
				<div class="content_right right">
					<%@ include file='/adv/right.jsp'%>
				</div>
			</div>
			<div class="clear"></div>
		</div>
<%@ include file='/layout/footer.jsp'%>